\documentclass{minimal}
\renewcommand{\vec}[1]{\mathbf{#1}}

\begin{document}

$\vec{a}\cdot\vec{b}$

\include{included.tex}

Hello World!
$\test{a}$
$\vec{a}\cdot\vec{b}$

\end{document}
